package com.jeeplus.modules.guide.mapper;
import com.jeeplus.modules.guide.entity.MobileAreaChars;
import com.jeeplus.modules.guide.entity.MobileAreaType;
import com.jeeplus.modules.guide.entity.MobileOrgrize;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface MobileBusinessMapper {
    List<Map<String,String>> listAreaPoint();
    List<MobileAreaChars> listTypeName(@Param("areaId") String areaId, @Param("isTop") String isTop);
    List<MobileAreaType> findAddrList(String[] array);
    List<MobileOrgrize> listAreaType();
    void delBussinessArea(@Param("areaId")String areaId);
    List<Map<String,String>> findAreaType();
    String findAreaTypeByorgrizeStatus(String orgrizeStatus);
    String getAreaName(@Param("areaId")String areaId);
    String findPid(@Param("areaId")String areaId);
    Integer findTypeNum(@Param("areaId")String areaId);
    String findTypeNameValue(@Param("areaId")String areaId,@Param("number")String number);
    Map<String,String> findTypeNameValuePC(@Param("areaId")String areaId,@Param("number")String number);
    String findTypeNameValueById(@Param("id")String id);
    String findPJWXID(@Param("areaId")String areaId,@Param("number")String number);
    List<HashMap<String,String>> findUserSMSPJ();
    void updateUserSMSPJ(@Param("id")String id);
    int insertUserSMSPJ(@Param("pj")String pj,@Param("result")String result,@Param("id")String id);
    String checkUserPJ(@Param("id")String id);
    String findNumberId(@Param("areaId")String areaId,@Param("number")String number);
    void updatePJValue(@Param("areaId")String areaId,@Param("number")String number,@Param("pj")int pj);
    String findHqueueId(@Param("areaId")String areaId,@Param("number")String number);
    HashMap<String,String> findUserValueByHqueueId(@Param("id")String id);
    String checkUserPJPC(@Param("areaId")String areaId,@Param("number")String number);
}
